/* 
 * File:   NullParameterException.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef NULLIMAGEEXCEPTION_H
#define	NULLIMAGEEXCEPTION_H
#include <cerrno>
#include <exception>
#include <string>

using namespace std;

/**
 * Class that represents a exception
 * when a null paramenter is passed to
 * the method.
 */
class NullImageException : public exception {
public:
    NullImageException(string path);
    NullImageException(const NullImageException& orig);
    ~NullImageException() throw ();
    const char* what() const throw();
private:
    string imagePath;
};

#endif	/* NULLPARAMETEREXCEPTION_H */

